package com.vision.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @projectName: vision
 * @package: com.vision.pojo.vo
 * @className: ChatListVO
 * @author: escapeicon@gmail.com
 * @description: 消息实体类
 * @date: 2024/1/20 9:59
 * @version: 1.0
 */
@Data
public class Message {
    private Long id;
    private Integer senderId;
    private Integer receiverId;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sendTime;
    private Integer isSystem;
}
